package JavaPractice;

import java.util.Scanner;
public class 求一加到n的和 {
    public static void main(String args[]) {
        Scanner reader = new Scanner(System.in);
        long n = reader.nextLong();
        long i;
        for (i = 1; i < n; i++) {
            System.out.print(i + "+");
        }
        System.out.println(i + "=" + (1 + n) * n / 2);
        reader.close();
    }
}
